<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@include file="/common/header.jsp"%>
<script type="text/javascript" src="${ctx}/js/erp/system/privilege.js"></script>
<title>Privilege Manager</title>
</head>
<body class="easyui-layout" style="margin: 2px;">
    <div region="center" style="border: none;overflow-x:hidden;">
	    <table id="treeGrid" data-options="toolbar:'#dg-toolbar'">
	        <thead>
	            <tr>
	                <!-- <th data-options="field:'id',width:30,align:'center'">编号</th> -->
	                <th data-options="field:'name',width:180">名称</th>
	                <th data-options="field:'tabUrl',width:100">URL链接</th>
	                <th data-options="field:'menuType',width:40,align:'center',formatter:formatMenu">资源类型</th>
	                <th data-options="field:'external',width:200">扩展资源</th>
	                <th data-options="field:'opt',width:90,align:'center',formatter:formatOperate">操作</th>
	            </tr>
	        </thead>
	    </table>
	    <div id="dg-toolbar">
	        <div class="mt10 ml10">
                <div class="container fl">
                    <form id="queryForm" name="queryForm" method="post" class="mb5">
				        <div class="row">
				            <div class="span2">
	                            <a id="add-btn" class="easyui-linkbutton" iconCls="icon-add" plain="false">添加</a>
	                        </div>
				            <div class="span3">
				                 <label for="name" class="fl" style="padding-top: 3px;">名称：</label>
				                 <input name="name" type="text" class="span2" value=""/> 
				            </div>
				            <div class="span3">
	                             <label for="name" class="fl" style="padding-top: 3px;">类型：</label>
                                 <select id="status-combobox" name="menuType" class="easyui-combobox span2" style="height: 26px;line-height: 26px;" data-options="editable:false">  
				                    <option value="" selected="selected">全部</option>  
				                    <option value="1">菜单</option>
				                    <option value="2">功能</option>
				                    <option value="3">资源</option>
				                  </select> 
	                        </div>
	                        <div class="span2">
	                            <a id="query-btn" class="easyui-linkbutton" iconCls="icon-search" plain="false">查询</a>
	                        </div>
				        </div>
			        </form>
			    </div>
			    <div class="fn-clear"></div>
	        </div>
	    </div>
	</div>    
</body>
</html>